<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Mapache: Referencia de la Clase ManejadorLogs</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../Mapache.png"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mapache&#160;<span id="projectnumber">v1.0.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Clases</span></a></li>
      <li><a href="../../files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
      <li><a href="../../classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
      <li><a href="../../inherits.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
      <li><a href="../../functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('d6/da5/classManejadorLogs.html','../../');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos públicos</a> &#124;
<a href="#pub-static-methods">Métodos públicos estáticos</a> &#124;
<a href="#pro-methods">Métodos protegidos</a> &#124;
<a href="#pri-attribs">Atributos privados</a> &#124;
<a href="#pri-static-attribs">Atributos privados estáticos</a>  </div>
  <div class="headertitle">
<h1>Referencia de la Clase ManejadorLogs</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ManejadorLogs" -->
<p><code>#include &lt;ManejadorLogs.h&gt;</code></p>
<div class="dynheader">
Diagrama de colaboración para ManejadorLogs:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d4f/classManejadorLogs__coll__graph.png" border="0" usemap="#ManejadorLogs_coll__map" alt="Collaboration graph"/></div>
<map name="ManejadorLogs_coll__map" id="ManejadorLogs_coll__map">
<area shape="rect" id="node2" href="../../d0/d77/classLog.html" title="Log" alt="" coords="39,5,81,35"/></map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>

<p><a href="../../d6/d66/classManejadorLogs-members.html">Lista de todos los miembros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d77/classLog.html">Log</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#aa200b6463a2b6e644cf6b9749cfab450">getLogAcceso</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d77/classLog.html">Log</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#a501a697acf71d5809eba43ab5a9cdeea">getLogError</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Métodos públicos estáticos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#afe44c6231459918a17ea7616bb058438">getInstance</a> (const <a class="el" href="../../d9/df9/classConfiguracionLogs.html">ConfiguracionLogs</a> &amp;conf)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Métodos protegidos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#aa01541b63a00a931464d46d07782b4b8">ManejadorLogs</a> (const std::string &amp;logErr, const std::string &amp;logAcc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#ab65df79d0f383aeb5d5d6cdbd84c6196">ManejadorLogs</a> (const <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#aeef1995d244adc646f3377194f78f623">operator=</a> (const <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#ab1c7c0197c6ce78bbfeb647494bd5dce">~ManejadorLogs</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d77/classLog.html">Log</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#a4c58d6a5a9710076323cedd71a1d2332">logError</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d77/classLog.html">Log</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#a3f313dc6a6c802b1adeb2546db8af75c">logAcceso</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Atributos privados estáticos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/da5/classManejadorLogs.html#aeaf02b8a0839fb39f8de37288dbc5a1f">pinstance</a> = 0</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<div class="textblock"><p>Clase encargada de manejar los logs. Los logs son unicos dentro de la aplicacion. Es por eso que se utiliza el patron singleton. De esa manera las instacias son unicas. </p>
</div><hr/><h2>Documentación del constructor y destructor</h2>
<a class="anchor" id="aa01541b63a00a931464d46d07782b4b8"></a><!-- doxytag: member="ManejadorLogs::ManejadorLogs" ref="aa01541b63a00a931464d46d07782b4b8" args="(const std::string &amp;logErr, const std::string &amp;logAcc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ManejadorLogs::ManejadorLogs </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>logErr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>logAcc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab65df79d0f383aeb5d5d6cdbd84c6196"></a><!-- doxytag: member="ManejadorLogs::ManejadorLogs" ref="ab65df79d0f383aeb5d5d6cdbd84c6196" args="(const ManejadorLogs &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ManejadorLogs::ManejadorLogs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1c7c0197c6ce78bbfeb647494bd5dce"></a><!-- doxytag: member="ManejadorLogs::~ManejadorLogs" ref="ab1c7c0197c6ce78bbfeb647494bd5dce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ManejadorLogs::~ManejadorLogs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de las funciones miembro</h2>
<a class="anchor" id="afe44c6231459918a17ea7616bb058438"></a><!-- doxytag: member="ManejadorLogs::getInstance" ref="afe44c6231459918a17ea7616bb058438" args="(const ConfiguracionLogs &amp;conf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> * ManejadorLogs::getInstance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d9/df9/classConfiguracionLogs.html">ConfiguracionLogs</a> &amp;&#160;</td>
          <td class="paramname"><em>conf</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve la instancia del manejador. </p>

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/da5/classManejadorLogs_afe44c6231459918a17ea7616bb058438_cgraph.png" border="0" usemap="#d6/da5/classManejadorLogs_afe44c6231459918a17ea7616bb058438_cgraph" alt=""/></div>
<map name="d6/da5/classManejadorLogs_afe44c6231459918a17ea7616bb058438_cgraph" id="d6/da5/classManejadorLogs_afe44c6231459918a17ea7616bb058438_cgraph">
<area shape="rect" id="node3" href="../../d9/df9/classConfiguracionLogs.html#ae9d0e3f38d4cac9d58438688a60cc9d3" title="ConfiguracionLogs::getRutaLogAccesos" alt="" coords="240,5,496,35"/><area shape="rect" id="node5" href="../../d9/df9/classConfiguracionLogs.html#a7ff0d702e1995d4c4324b4d28fe57a7f" title="ConfiguracionLogs::getRutaLogErrores" alt="" coords="245,59,491,88"/><area shape="rect" id="node7" href="../../d6/da5/classManejadorLogs.html#aa01541b63a00a931464d46d07782b4b8" title="ManejadorLogs::ManejadorLogs" alt="" coords="265,112,471,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa200b6463a2b6e644cf6b9749cfab450"></a><!-- doxytag: member="ManejadorLogs::getLogAcceso" ref="aa200b6463a2b6e644cf6b9749cfab450" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d77/classLog.html">Log</a> * ManejadorLogs::getLogAcceso </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve el log de acceso asociado al manejador </p>

</div>
</div>
<a class="anchor" id="a501a697acf71d5809eba43ab5a9cdeea"></a><!-- doxytag: member="ManejadorLogs::getLogError" ref="a501a697acf71d5809eba43ab5a9cdeea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d77/classLog.html">Log</a> * ManejadorLogs::getLogError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Devuelve el log de errores asociado al manejador </p>

</div>
</div>
<a class="anchor" id="aeef1995d244adc646f3377194f78f623"></a><!-- doxytag: member="ManejadorLogs::operator=" ref="aeef1995d244adc646f3377194f78f623" args="(const ManejadorLogs &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a>&amp; ManejadorLogs::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de los datos miembro</h2>
<a class="anchor" id="a3f313dc6a6c802b1adeb2546db8af75c"></a><!-- doxytag: member="ManejadorLogs::logAcceso" ref="a3f313dc6a6c802b1adeb2546db8af75c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d77/classLog.html">Log</a>* <a class="el" href="../../d6/da5/classManejadorLogs.html#a3f313dc6a6c802b1adeb2546db8af75c">ManejadorLogs::logAcceso</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4c58d6a5a9710076323cedd71a1d2332"></a><!-- doxytag: member="ManejadorLogs::logError" ref="a4c58d6a5a9710076323cedd71a1d2332" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d77/classLog.html">Log</a>* <a class="el" href="../../d6/da5/classManejadorLogs.html#a4c58d6a5a9710076323cedd71a1d2332">ManejadorLogs::logError</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aeaf02b8a0839fb39f8de37288dbc5a1f"></a><!-- doxytag: member="ManejadorLogs::pinstance" ref="aeaf02b8a0839fb39f8de37288dbc5a1f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a> * <a class="el" href="../../d6/da5/classManejadorLogs.html#aeaf02b8a0839fb39f8de37288dbc5a1f">ManejadorLogs::pinstance</a> = 0<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
<li>Mapache/src/servidor/utils/<a class="el" href="../../dd/d78/ManejadorLogs_8h.html">ManejadorLogs.h</a></li>
<li>Mapache/src/servidor/utils/<a class="el" href="../../dd/d81/ManejadorLogs_8cpp.html">ManejadorLogs.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="../../d6/da5/classManejadorLogs.html">ManejadorLogs</a>      </li>
      <li class="footer">Generado el Domingo, 20 de Noviembre de 2011 00:38:06 para Mapache por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
